package home.projects.withinaoptest.component;

import home.projects.withinaoptest.framework.BaseCommand;
import home.projects.withinaoptest.framework.Chain;
import home.projects.withinaoptest.framework.CommonChain;

import java.util.Map;

public class TestComponent extends BaseCommand {

   private CommonChain innerChain;
      
   public void setInnerChain(CommonChain innerChain) {
      this.innerChain = innerChain;
   }

   public boolean execute(Map<String, Object> map) {
      System.out.println("In testcomponent; map: " + map);
      innerChain.execute(map);
      return false;
   }

}
